package autoorder.zsxmlv.mapper;

import autoorder.zsxmlv.po.Account;

import java.util.HashMap;
import java.util.List;

public interface AccountMapper {

    List<Account> listAllByStatus(Integer disabled);

    List<Account> selectByPage(HashMap<Object,Object> map);

    int selectByCount(HashMap<Object,Object> map);

    int deleteByPrimaryKey(Integer id);

    void batchDeleteByIds(int[] array);

    int insert(Account record);

    int insertByBatch(List<Account> list);

    Account selectByPrimaryKey(Integer id);

    Account selectByCustname(String custname);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);
}